let marbleRaceLevel10_2 = {
	name: 'Game 10 Level 2',
	id: '10_2',
	type: 'elimination',
	eliminated: 1,
	objects: [
		// Portals
		{
			type: 'object',
			shape: 'rect',
			color: '@a',
			toPortal: 'a',
			x: 200,
			y: 540 - 10,
			width: 600,
			height: 20
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@a',
			toPortal: 'a',
			x: 400,
			y: 300,
			width: 450,
			height: 20
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@goal',
			toPortal: 'goal',
			isGoal: true,
			x: 540,
			y: 540 - 10,
			width: 120,
			height: 20
		},
		{
			type: 'object',
			shape: 'circle',
			color: '@a',
			portalID: 'a',
			x: 540,
			y: 80,
			radius: 5
		},

		// Goal portal
		{
			type: 'object',
			shape: 'circle',
			color: '@goal',
			portalID: 'goal',
			x: 700,
			y: 80,
			radius: 5
		},

		// Obstacles
		{
			type: 'object',
			shape: 'rect',
			color: '@secondary',
			x: 540,
			y: 150,
			width: 100,
			height: 20,
			onCollide: function (object, marbleID, engine) {
				engine.setVelocity(engine.circleArray[marbleID], [-engine.random(3, 5), -5])
			}
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@secondary',
			x: 340,
			y: 150,
			width: 100,
			height: 20,
			onCollide: function (object, marbleID, engine) {
				engine.setVelocity(engine.circleArray[marbleID], [-engine.random(3, 5), -5])
			}
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@secondary',
			x: 140,
			y: 450,
			width: 100,
			height: 20,
			onCollide: function (object, marbleID, engine) {
				engine.setVelocity(engine.circleArray[marbleID], [engine.random(3, 5), -5])
			}
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@secondary',
			x: 340,
			y: 450,
			width: 100,
			height: 20,
			onCollide: function (object, marbleID, engine) {
				engine.setVelocity(engine.circleArray[marbleID], [engine.random(3, 5), -5])
			}
		},

		// Borders
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 400,
			y: 0,
			width: 800,
			height: 120
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 400,
			y: 600,
			width: 800,
			height: 120
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 0,
			y: 300,
			width: 160,
			height: 600
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 800,
			y: 300,
			width: 160,
			height: 600
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 640,
			y: 300,
			width: 80,
			height: 600
		},

		// Marbles
		{
			type: 'marbles',
			x: 540,
			y: 80,
			launchTime: 3,
			launchRadius: 75,
			passX: 700,
			passY: 80,
			radius: 8,
			eliminatedRadius: 6,
			velocity: 5
		},
	]
}
marbleRaceLevels.push(marbleRaceLevel10_2)